<?php
/**
 * Created by 云中有鹿.
 * User: 陈云
 * Blog: http://blog.likecy.cn
 * Date: 2019-04-05
 * Time: 19:38
 */

namespace app\car\controller;

use app\car\model\Driver;
use app\common\controller\Api;

class Reserve extends CarApiBase
{
    protected $noNeedLogin =['*'];
    public function index(){

        $result = Driver::all();
       return  $this->success('200',$result);




//        $this->error('error',['233'=>666]);
       // $this->success('200',input('post.'));
    }

}